$OpenBSD: patch-includes_locale_inc,v 1.3 2012/05/11 07:46:56 espie Exp $
--- includes/locale.inc.orig	Wed May  2 18:36:16 2012
+++ includes/locale.inc	Fri May 11 09:33:11 2012
@@ -1294,7 +1294,7 @@ function _locale_import_one_string($op, $value = NULL,
           $header = _locale_import_parse_header($value['msgstr']);
 
           // Get and store the plural formula if available.
-          if (isset($header["Plural-Forms"]) && $p = _locale_import_parse_plural_forms($header["Plural-Forms"], $file->filename)) {
+          if (isset($header["Plural-Forms"]) && $p = _locale_import_parse_plural_forms($header["Plural-Forms"], $file->filepath)) {
             list($nplurals, $plural) = $p;
             db_query("UPDATE {languages} SET plurals = %d, formula = '%s' WHERE language = '%s'", $nplurals, $plural, $lang);
           }
